Bug workaround: JSON with text/xml content-type