fix bundlor config
simplify serialization context usage