The code should be able to keep track about previous content and print JSON objects separator automatically. Signed-off-by: Karel Zak <kzak@redhat.com>