Bugfix in request parsing

The checking of request data structure for object argument
requests wasn't good enough.