[Bug-fix] Properties were not correctly serialized to output kmd

Change-Id: If3ef2ea3f7ef0576872c86d0044bc2d0bd771192