more serialization implementation

Spaces missing.