SERVER-10626 $add projection supports arrays of numbers

Adds nested arrays if provided. Retains nullish behavior if null is part of input.