create JSONParser class and move code from Places view controllers to parser