Implement post-processing rules for metadata fields.

Update parser spec to match.