Allow mongo relation templates to be overwritten by config

Every list template can be set in the configuration except for the mongo relation templates. This PR fixes this.