add support for serializer service

see issue #10