Add save delay to JSON storage configuration.

Also fixes saving integer ranges to the configuration file.