[CODE-GEN] Several fixes and play around with ser / deser.
6 files changed