By simply replacing the private field with a concrete type, so we do not need to manually register one when constructing the gson instance (which is evidently too easy to forget about).
8bc0b0a