Serialize records to proplists before storing then in Riak