Removed dependency for php-curl, parses all the data into an array.