Importing in app purchase list from newsstand.json in rails. Also handling errors returned from the body request.