add global configuration option to decode json objects