Made some changes for parsing unicode values to SqlAlchemy