packet lib: ipv6: fix reversibility about json

Signed-off-by: TAKAHASHI Minoru <takahashi.minoru7@gmail.com>