Imaging vortex dynamics in Josephson arrays using magnetic force microscopy