'Convert fake task to dictionary representation.'

def to_dict(self):

    attr_dict = {key: getattr(self, key) for key in self.FEATURES}
    attr_dict['created'] = attr_dict['created'].isoformat()
    return attr_dict
