fixed mutate+merge bug #1911 and added merge specs

fixes #1911 and also fixes the source field that was mutated into an array.