Log errors when adding a field to a report message fails, add 'key' field specifying the
report category for each plugin, use maps and go's json package instead of string to
concatenation to serialize the report json, change all report json output to get closer
to what is required by the new dashboard code.