# Functions
FastMarshalJSON avoids one of the extra allocations that time.MarshalJSON is making.
GetTimestamp tries to parse given string as golang duration, then RFC3339 time and finally as a Unix timestamp.
# Constants
JSONFormat is the format used by FastMarshalJSON.
RFC3339NanoFixed is our own version of RFC339Nano because we want one that pads the nano seconds part with zeros to ensure the timestamps are aligned in the logs.