Function CreateDevicePreviewOptionsToJSON