Add json api for config manager