A pragmatic JSON data format and functions for representing complex temporal phenomena