I can work on it some more. Could you explain why you don't think it would integrate well? 
Injecting the serializer would certainly be better, and the same goes for the other configuration stuff. Then we don't have to inject the container at all.