Update the output of the reference implementation to the new format.