Get the JSON URL segments ready