Fixed RIB request and used org.json objs