Detect all fields of objects in JSON array for filtering.

Closes #7.