Fixed generation of device config type string