add version key to js message headers
add shim for double-serialized JSON

msgspec gives unserialized JSON,
nbformat v3 wants JSON strings.