Moved metadata reader to analysis plugin