Add support for non-JSON config values

Sometimes applications would like to store config values as something other than JSON.