more logging modification
replacing implicit yaml marshal with explicit object creation