Switching date serialization to ISO format for improved javascript compatibility