Applied same multi-occurrence mapping behavior for arrays as is used for
collections (and corrected possible stackoverflow in the process)
Added test to prove that fieldContext can be used with filters; added
fix to source code generation to reorder field context capture before
applying filters