Fixed the way we're passing json data to the server.

String object work by Hash doesn't.