Mappers: Better validation of mapping JSON

Closes #7205
[DOCS] Corrected syntax error in search curl cmd

Closes #8447