utils_format_json: include ds names and types in json output.