introduced fmt_any function, now it is easier to add a new formatter