You'll soon be able to store arbitrary data structures on IPFS [1], and we're discussing how to perform merging in a decentralised manner [2]. I'm actually quite interested in having a persistent data storage system (like Irmin) backed by IPFS in the future.
[1] https://github.com/ipfs/go-ipld [2] https://github.com/ipfs/notes/issues/40