Metadata parse rewrite