Cast POST body string so that the json module can parse it.