code to insert into Riak, but having openssl errors. might need to reinstall riak