Use serializer option for both array, and single objects.

This allows the use of a single `serializer` attribute in both cases of Array, and singular objects. I found myself always having to write extra code in situations where I normally would have been able to refactor down. I've using this myself without any adverse effect, and thought I'd share.