Use 'ArrayObject' in Ganeti.RPC instead of manual encoding
Use 'ArrayObject' in Ganeti.RPC instead of manual encoding

Before most of the calls were implemented manually, ignoring any
generated code for maniupulating JSON. Using 'ArrayObject' we can
automate the process.

Signed-off-by: Petr Pudlak <9d19625f8ee825a2c398462ed335cbcf98f79c32@google.com>
Reviewed-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>

onponomarev/ganeti,yiannist/ganeti,andir/ganeti,bitemyapp/ganeti,dimara/ganeti,ganeti-github-testing/ganeti-test-1,ganeti/ganeti,ganeti/ganeti,ganeti-github-testing/ganeti-test-1,grnet/snf-ganeti,mbakke/ganeti,grnet/snf-ganeti,mbakke/ganeti,mbakke/ganeti,leshchevds/ganeti,yiannist/ganeti,apyrgio/ganeti,leshchevds/ganeti,dimara/ganeti,bitemyapp/ganeti,apyrgio/ganeti,onponomarev/ganeti,yiannist/ganeti,andir/ganeti,leshchevds/ganeti,andir/ganeti,ganeti/ganeti