JSON validator - checks whether text is valid JSON, with type, size, depth, key count and error line and column