Added -j option for JSON output