Reusable widget to set couchapp settings based on a json-schema