private static boolean reservedFieldName(String name) {
        return (name.equals("id") || name.equals("version"));
    }
Returns spaces corresponding to 1 level of indentation
vespa-documentgen-plugin/src/main/java/com/yahoo/vespa/DocumentGenMojo.java