Added events to hide or show properties in the JSON render.

Need feedback from #42.