Added missing spaces when writing into the JSON log