add grouping for metadata and read custom metadata information from manifest