Can you move the `SerializerInterface` to the `Configuration` class? I think its a better place for it.