Added configurable serializer structure