[fix] switched to jax-rs MediaType
[fix] set right headers for wiremock request stubs