client now POSTs requests as JSON objects