added string conversion and stream << output operator overloads to Format class