Read a json file and return it as a dictionary