First version of viewDocument - got to solve uri parameters and serialization of RavenJObject