public static Optional<String> optionalString(Inspector inspector) {
        return optional(inspector, Inspector::asString);
    }
Throws {@link JsonParseException} on invalid JSON.
vespajlib/src/main/java/com/yahoo/slime/SlimeUtils.java