Check toJSONObject output not null