Update JsonValue.java

Line 308, switch needs to test value's type, as opposed to object's type, as with other #asArray methods.
Merge pull request #1392 from danielheim/patch-1

Update JsonValue.java