JSONContent: Add HTML escaping test from EventLogging

Change-Id: I73908c7614b39bdab953aec079c8dfb991fa463b