<s>[INST] currently the server responds with an json object wrapped in a json array . we need to strip the array . concode_field_sep String POST_VIDEO_DATA concode_elem_sep String GET_PROJECT_DATA concode_elem_sep String GET_VIDEO_DATA concode_elem_sep String host concode_elem_sep String POST_PROJECT_DATA concode_field_sep String downloadVideo concode_elem_sep VideoData downloadVideoData concode_elem_sep String uploadProjectData concode_elem_sep JSONObject uploadVideoData concode_elem_sep void uploadVideo concode_elem_sep ProjectData downloadProjectData concode_elem_sep String executeMethodWithJSONResponse [/INST] String function ( String arg0 ) { return arg0 . substring ( 1 , arg0 . length ( ) - 1 ) ; </s>