MARMOTTA-325 : Use supported settings to enable use of the templating
service by third-parties
MARMOTTA-325 : Remove use of backports that uses unchecked generics