Agreed. One class/module should have its Single Responsibility. We'll try to see if we can improve this serializer later.