now statevalues supports params for extra information like
unitofmeasure, phaseid, etc.