Add JSON API for changing config by section