Rooting for each action passing in URL with JSON file