def export_to_json(env):
    """export_to_json

This function takes in a dictionary object and stores it within the config.JSON
file.
    """
    json_fl = env['scripts'] + "/config.JSON"
    with open(json_fl, 'w') as fh:
        fh.write(json.dumps(env, sort_keys=True, indent=4,
                            separators=(',', ': ')))
export_to_json

This function takes in a dictionary object and stores it within the config.JSON
file.