changed version api and added version json support
corrected uri type in request setting
added version response json support