Refactor open graph stuff in metadata
Merge pull request #5710 from guardian/moar-refactoring

Refactor open graph stuff in metadata