Fixing the JSONDecodeError: Invalid control characters 09-12-2013