changed default content type to text/json