using timestamps in json output