Extend JDBC Type to provide literal serialization

Fixes #714