converted answer to json format