Please remove the mutable default of optional_attributes. I missed this earlier, and I've submitted [PR 1173](https://github.com/mozilla/bedrock/pull/1173) to fix it in platform_img, and added tests for that function, which should be a good base to adapt for this one.