Changed booleans to Booleans to allow them to be null. Added serialization and deserialization of date-times to be forgiving of format. Autotests for serialization.