<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def json_dumps(inbox):
 """ Serializes the first element of the input using the JSON protocol as implemented by the ``json`` Python 2.6 library. """

    gc.disable()
    str_ = json.dumps(inbox[0])
    gc.enable()
    return str_