1. A method for storing data, the method comprising: representing the data as a tree structure; calculating a structure ID for the tree structure, the structure ID being a representation of the tree structure and independent of node names and node values of the tree structure; and storing a mapping of the structure ID to the tree structure.