Removing invalid tab characters from JSON strings + tests.