Fixes in IsJSON function
Updated file
New tests