Issue #161: Added serialization script