update_json helper filters out trips in the distant future