[168] Cannot compile generated JsonEncoderDecoder with certain type hierarchy

See case 168 more for details