Add operator<< for nanoseconds