add encodePretty'' variant that takes Value instead of ToJSON a