checkservices: Add serialization