CMS-2086 Move common reusable json-generating objects into a package outside the each resource package
Moved JSON-generators for ContentType