Add support for matching JSON with an Array as the containing element.

JSON evaluation (Content-Type == "application/json") currently fails if the outer element of the data is an array. This change adds support for this type of array evaluation.