fixed the JSON output format in get_recent_questions()