add code to register serializers