Throw an error if JSON mappings to match property keys

Fixes #293