Adding the new JsonToStringStyle to ToStringStyle

Implementation of `JsonToStringStyle` inside `ToStringStyle` that outputs the String representation of the object in json format.

Jira ticket https://issues.apache.org/jira/browse/LANG-1015
You can leave out the assertion when testing for expected exceptions. It just clutters the code and won't be executed anyway.