Fix error in JsonToAlligator due to strange JsonValue.hasChild behavior