Improved Any::ToString() and ToJSON() methods and added a unit test.