Manually cast integer and float values to avoid quoting them in json.dump