Update metric storing format

New metrics format with a column per metric to allow easier querying.