Unify JSON boolean usage


When saving projects / nodes, use true booleans instead of strings.
When reading, accept either one.

Task-number: QTBUG-107507
Change-Id: I237dae2a447613a36b26010a54fbdd51889f644e
Reviewed-by: <amr.elsayed@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commit47780a17c199f3e6cc07d08bffb1d8bb30534078
parent8a5a31e41bf9dcd5a5fe406c5c9c3a0817045742
authorKaj Grönholm <kaj.gronholm@qt.io>
committerKaj Grönholm <kaj.gronholm@qt.io>
commit timeTue, 11 Oct 2022 05:26:16 +0000