[CGL] Fix code style issues with inline control structures in JsonView
[CGL] Fix code style issue with empty else