added json api for global response setting