Fix privatedata

Now we have a working key value store again. CURL calls to test are in the documentation 
@schiesbn @PVince81 @LukasReschke @DeepDiver1975