Add discriminatedByKey to coproduct codec builder