removed unused payPageLanguage
Fix for more fault tolerant parsing of json responses (ignores unprintable chars added to response string).