'Reshapes the results so lists are lists and everything is not'

@classmethod
def reshape(cls, results):

    list_keys = cls.list_keys
    return [dict(((key, (val if (key in list_keys) else val[0])) for (key, val) in result.items())) for result in results]
