Fix boolean mapping in metadata document
Ensure all the fields metadata.* are created as a string in the mapping
Related to T3373