prepare json string and pass it to lmsapi.