Make Json class in client API internal