to_snapshot_json <- function(x) { # https://github.com/cynkra/dm/pull/1891#issuecomment-1589176764 # print(jsonlite::toJSON(x, pretty = TRUE)) print(x) }