<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_json(template, file_name='../dxf.json.template'):
 """ Write a native object to a JSON blob """

    with open(file_name, 'w') as f:
        json.dump(template, f, indent=4)