<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dump_json(obj):
 """Dump Python object as JSON string."""

    return simplejson.dumps(obj, ignore_nan=True, default=json_util.default)