made parts required for responses, and added a fix for attributes with a comma for name