switched to LWP::UserAgent in preparation for OAuth
convert data in own function