Add array_values to modules output

This way we’re generating an array of objects, not an object of
objects.  Somewhat pedantic, but it makes things fit better.