remove code duplication, made property codebookcodes simpler
remove code duplication, made property codebookcodes simpler

amcat/amcat,tschmorleiz/amcat,tschmorleiz/amcat,tschmorleiz/amcat,tschmorleiz/amcat,amcat/amcat,amcat/amcat,amcat/amcat,tschmorleiz/amcat,amcat/amcat,amcat/amcat