use JSON instead of bytea (easier to read, no code injection, ... + add a check for the polymorphic loading / default order