As jsonencoding is used to pass some config parameters, move it to a package that callers external to kopia can name. This ensures they can actually configure those parameters if needed.