Fix data serialization and #delete