Merge pull request #4 from gzm0/typedSql

Remove intermediate map for records. Allow serialization