demmt: determine object decoder only once per class