data serialized on write/read