Refactored from_latest_json to EAFP style