JSON parsing from a StringInputStream