[IMP] models: add check for common conversion error in field definitions

This one handles the case of the trailing comma after a field definition.