refactorings in goobi-servlet