First version of export: inefficient and needs to be improved by not using nokogiri.