compiler: cleaning up Document.save and Document.namespaces usage
compiler: JsonRpcClientJavaGenerator
compiler: JsonRpcClientJavaGenerator: small fixes