[JAVA-1406] Fix error in JsonReader when JavascriptWithScope

JSON Reader is now able to read JavaScriptWithScope.