fixup! Fix #37: Preserve order of attributes on serialization.