Add support to automatically convert php DateTime object to ATOM format