Changed to use built in MetadataSerializer.
- If I only had found out that it existed earlier....