Geomap: legend enhancements

Is there some way to filter out the formatting before OpenLayers uses them? It likely would be pretty common for people to want to use formatted numbers (since the formatting was added at a users request).