Added support for configuring a device from the web interface.
fixJson now also quotes all values.