Added advanced json decoding

* Objects embedded in json responses can now be decoded
* This allows for more complex responses and loading of complete object collections