Check for Boolean fields when converting to GSR JSON