The proper way to pass arrays as json sadly is to have an object that contains the array.  It is supposed to help people doing javascript for some reason I forgot.