Fixed two bugs in zero config editor

* Providing non-boolean values as boolean were corrupting data
* Zero config edit preview were causing errors on errors

Change-Id: I5190d7204929614055279c61d1bb471819db03f6
Merge "Fixed two bugs in zero config editor"