Only omit attribute values for boolean attributes