Fix toJSON of EGVRecord to have correct time.