Changed code for parse EchoNest and added error handling