when calling Template.getObjects and the object queried does not exist i get an empty array in the json result, if the object exists i get a hash.
Template.getObjects:
>{"auth":"0d3fb2426c079cd8235414fd203642c3","params":
,"jsonrpc":"2.0","id":1,"method":"Template.getObjects"}
<
ARRAY(0x925b940)
Template.create:
>{"auth":"0d3fb2426c079cd8235414fd203642c3","params":
,"jsonrpc":"2.0","id":1,"method":"Template.create"}
<{"jsonrpc":"2.0","result":
,"id":1}
HASH(0x925b630)