Fix #56

Collections with one element are rendered as an array with one element instead of an object.
Note: it looks like the Json Serializer ignores empty arrays so collections with no elements are still not included in the _embbedded resource.