Issue127: Introduce MetadataExtractor

Extracts metadata according to a json configuration from a componentTree