Remove Database & format text for JSON output