added tmp files and logs to gitignore
Test json returned
Added utf encoding compatibility