parsing the received json and converting to web format