JSON API for /sha1, /md5, /tar and /sha256
serialize collection in each message