client read process should marshal json data