Updated attr hash key to be of type string. partially tests and working