Fix comma placement in JSON generation
Add red_log logging module