Fix payload logging 

This can blow up when calling stringify if there are any circular references in the payload object.