Small change to add wildcard generics; Added special case to convert Calendar instances to ISO8601 format in log messages.