Serialize object graphs in local repositories