Fix stack level too deep errors for metadata
Merge pull request #86 from alphagov/errors-metadata

Fix stack level too deep errors for metadata