Allow for json_decoder argument just like json_encoder