After copying from OG2MetadataConversion