Have better handling of requests with object argrument

Object arguments can now be sent as either
  {"user":{"name":"foo","pass":"bar"}}
or
  {"name":"foo","pass":"bar"}
instead of only the first example.