Updated code to start converting OHM data into metrics and values (seems incomplete from results so far)