Changing how data JSON is retrieved