Allow arrays to be serialized as body parameters

I noticed that you can't include in the body serialized arrays when using the JMSSerializer visitor. It's simple to change this and allow arrays in the body if that is a desired feature.