Get an array or dictionary from a .json file