changed RawData return in sensor API from list to map