Correctly serialize addons conferred by modifications.

fixes #86