Added prune option, removed sortObj in favor of sortAsc and sortDesc, rolled own merge function for schemas.