pymssql fails to handle query params of uuid.UUID type provided by SQLAlchemy

backport of kind man Ivan Kalinin
see full discussion here https://groups.google.com/forum/#!topic/pymssql/ah6f8cl2Va0