HAL-2 refactored JsonHalWriter
- reduced visibility of ObjectFactory
- added additional methods to resource to get rels