modified transfer data to Json