change default codec for monoids to identity