Added stream operator to dump contents to std out.