JsonDiff: move empty LCS test further up

This is not quite optimal yet. Optimally, what should be done is do pre/in/post.