Provides auto-serialization of simple Ruby types that databases do not support.