Added structured output to prompt module. Output is now always JSON, including command results status (enum in beef.js).