Actually I just realized that we have utilities in our Python SDK that might help you out to parse the update data and later serialize it (see this module and look for accumulator update data). Specifically we have a method that can combine two separate update data (this)