Marconi_Server: fix bugs in registry save/load