Serialization to text ver 1. Added alarmCollection object