The code is trying to get a string from a json object, and if that fails it should log "is not a string", not "is not a timestamp".