public JSONObject toIOSJson(){
		JSONObject obj = new JSONObject();
		
		if(aps != null){
			obj.put("aps",aps.toJson());
		}
		
		for(int i=0;i<keys.size();i ++){
			//JSONObject item = keyValue.getJSONObject(i);
			obj.put(keys.get(i), values.get(i));
		}
		
		JSONObject payload = new JSONObject();
		payload.put("payload", obj);
		return payload;
	}