json: common json header fixup.
json: timer to_json writer has been added.