add helper to initialize the Serializer