some encodium mods
commit because bugs in serialization