New constructor for JSONObj