Enhanced custom JSON Encoder to handle datetime instances.
Corrected checksum and versioning code to function correctly on PostGres.