Archive JSON: Handle absence of plugin output.

This commit fixes a segfault that happened when there was no plugin
output in the log file for any type of log entry that could have
plugin output.