fixed inversion of body and contentType, leading to badly formatted responses
Merge branch 'master' into endpoint-add_timer