Ajax call returning JSON forces IE8 and 7 to download file instead of reading it
I finally located the error: it was because of the file codification, some of them were in UTF-8 and other ones in UTF-8 without BOM so IE7 detected an strange character at the beginning of the json being unable to parse it, coding all files (js files, php and module files) in UTF-8 without BOM solved the problem