replaced Java null by JSONObject.NULL as recommended in JSON libraray, because of compiler problem