Given a bunch of JSON documents that are assumed to be similar, collects info about common structure.