Added support to automatically convert Python datetimes into isoformat() for serailisation