forgot to json_encode rv data