fix wrong parentheses
fix JSONParseException passed not as a second argument to IllegalStateException, but into String.format()