adds support for application/json contentTypes