remove boost dependency (replace format with stringstreams)