fix for DeviceClass: insert. POST /device/class -> HTTP/1.1 500 Internal Server Error