[python] Convert sqlalchemy row object to python dict