Account for all kinds of null in JSONObject

JSONObject can be "null" instead of null