Ideally the code that serializes and deserializes keys to the `data-reactid` attribute should live in one module. I think we can cut down on the size of these in the future so it'd be nice to have that in mind as we change this code.