Implement WriteJson on MetadataConverter

I was receiving the NotImplementedException when converting webhook data to JSON for logging, this fixed it for me, thought I would share.