CLC-3339 Give smart_fetch_from_cache an optional jsonify mode