Added support for converting booleans in dynamic yaml
Also added unit test