add metadata section to collection json data response