Using writer in workflow step with agent - Mastra