Move rawdata into json format