.. on the other hand, if facing this problem: - import large trees from concise human-readable representation as string , it is probably possible to write a parser which does just that. After all json parser works somehow ;) Just saying that you could do this in Haskell, given enough interest.