'write config to JSON'

def save_config(self, name, cfg):

    save_config(name, cfg, self.build_base)
    save_config(name, cfg, os.path.join('zmq', 'utils'))
    build_lib_utils = os.path.join(self.build_lib, 'zmq', 'utils')
    if os.path.exists(build_lib_utils):
        save_config(name, cfg, build_lib_utils)
