This behaviour is encoded in an [internal flatten serializer](https://github.com/lawliet89/biscuit/blob/df21822563cdb2f5cf050a8045dea2c5658aee2c/src/serde_custom/flatten.rs#L218-L227).