add isObject() and isArray() to JsonValue.