Add objectify function to convert dicts and appstructs back into SQLAlchemy objects.