koops: fix json output if there are no modules

Closes #113.

Signed-off-by: Martin Milata <mmilata@redhat.com>