allow objects with arrays to be sent as json in requests

Had a data structure that looked like:

```{'restofworld': ['app', 32]}``` and requests didn't like it.

This fixes, but I am not sure it is correct.
this doesn't make sense if the function is called `_is_obj`