Start writing json output
fix merge conflicts
valid JSON