options needs to be converted into json before sending to server