add showError function for better error reporting
test if properties in jsondata are in model