String to class utility in python