Adds toString equals and hashCode to schemas. equals implementation handles recursive record schemas.