[BUGFIX] Fixing JSON boolean check