should handle deserializing arrays now.
and now it should handle serializing array types.