Perl module for JSON output for structured errors.