Mappers: Better validation of mapping JSON

The parsers for the mappers now remove each setting as they parse it and an error will be thrown if any settings are left after parsing is complete

Closes #7205 
Could you extract this "type" string to a constant? (and replace other references to this string to a reference to the constant)