Switch to boost::format for non-trivial substitution of values into