def adjust_fields(prefix, task):

    """
    Prepend the prefix to a task's fields

    :param prefix: string prepended to task fields
    :type prefix: str
    :param task: a JSOn task object from task.json
    :type task: dict

    :return: a modified JSON task object from task.json
    :rtype: dict
    """

    output_task = {}
    for field, content in task.items():
        output_task[prefix + field] = content

    return output_task.copy()