Fix global ``` self.root = false ```

Using the on_load hook does not change the defined root on
Serializer#inherited.

Related to #179