<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse(binary, **params):
 """Turns a JSON structure into a python object."""

    encoding = params.get('charset', 'UTF-8')
    return json.loads(binary, encoding=encoding)