fix empty JArray and JObject