Cleaned up the way riak configurations are inserted