Added events to hide or show properties in the JSON render.
pull request 43 & additional tests