use json deserializer when content-encoding is not specified