Minor fix of Capabilities encoding in order to be schema compliant.