Getting ”Human” (ISO8601) DateTime Stamps From dnsdbq JSON Lines-Formatted Output

dnsdbq is a popular command-line client for accessing the DNSDB API. dnsdbq can produce output in presentation format, CSV format, or JSON lines format. One issue that users sometimes run into when using the JSON lines format is that timestamps in the JSON lines format are left “raw," in "Unix epoch seconds." For example, let’s look at one record from DNSDB for in JSON lines format:
$ dnsdbq -r -j -l 1
While there’s nothing "wrong" or "improper" about timestamps expressed as Unix epoch seconds, many of us will prefer to convert them to a more easily read format, such as the ISO8601datetime format.