private String className(String s) {
        return s.substring(0, 1).toUpperCase()+s.substring(1);
    }
Packs the given doc to Book
@param d doc, never null
@return a Book object or null if input doc isn't a Book
documentgen-test/src/test/java/com/yahoo/vespa/config/DocumentGenPluginTest.java