fixed inversion of body and contentType, leading to badly formatted responses