Make all jcrestapi packages private and import all org.jahia.modules.json packages.
Renamed JSONLinkable to LinksDecorator to be more explicit.
Keep embedding own version of Jackson and also embed json-generation library for now since I couldn't figure out how to make the module work properly. :(
Avoid potential NPE.
Use DefaultJSONObjectFactory.getAsString instead.