json: checks cached json lifetime and if it is greater than doubled timeout of json update, adds 'error' section to json.