Here I think we just should just default to `json.dumps` if no encoder is specified. No need for an extra setting.