Added support for ISO format in the date conversion.

This is necesary to be able to serialize datetime objects in JSON datetime standard format.