Normalising json decoding in http client code to remove camel casing