ios json controller class