Updates to support array content

Motivation:
When the content of a document contained a JSON array the server was not
able to handle it. The updates in the commit contain changes to how
document content is parsed depending on if the content is a pure String
or an Object or Array Json NodeType.
Adding hobbies and updates required to get it working.