Json manipulation API

This pull request provides APIs to manipulate Json trees both as input and output.

Based on https://github.com/ReactiveCouchbase/json-lib