Convert boolean values on hydrating template