It should be documented somewhere in the `GenCodec` docs: https://github.com/AVSystem/scala-commons/blob/master/docs/GenCodec.md How this representation can be altered to JSON arrays of numbers or base64 encoded strings?