updated metadata format to be consistent with JSON