Override equals,toString,hashCode of TSConfig