Fix exportObjectMetadata