slice to and from json