@classmethod
def from_json_type(cls, data):
    """Convert a dictionary of JSON safe data to a task"""
    assigned_to = data.pop('assigned_to')
    id = data.pop('id')
    timestamp = data.pop('timestamp')
    task = cls(**data)
    task._assigned_to = assigned_to
    task._id = id
    task._timestamp = timestamp
    return task
