remove stats formatting by pattern matching and replace with a mapping function to be used in riak_kv_stat_bc