Bugfix for deserialization to arraycollection from json

Reported in https://github.com/schmittjoh/serializer/issues/9
Added Bugfix in Serializer
Added test for deserialization to arraycollection from json