add backwards compatibility for deserializing json collection fields with double wrapping.