Interfacing microbiomes and ecosystems