import ast


def literal(str_field: str):
    """
    converts string of object back to object
    example:
    $ str_literal('['a','b','c']')
    ['a', 'b', 'c'] # type is list
    """
    return ast.literal_eval(str_field)