Hydrator Strategy to extract and hydrate Boolean values

New PR for #6230 but on develop branch
Can you add `@covers` annotations here?