Helper for approximate assertions and nested list comparison.