fix format string to match the number of input values
format doubles with %f
don't call getCompactions thru the proxy twice for compactionstats