added array support

requires https://github.com/schmittjoh/serializer/pull/83