Serialize: Fix object detection
Serialize: Fix object detection

jQuery.type doesn't just return "null" for null but also e.g. "array"
for arrays instead of object so it's not really a typeof analogue.

My suggestion was stupid. Sorry.

Refs 3d7ce0a65f0707ff01a851822e57ba80adcff075

roytoo/jquery,roytoo/jquery,jquery/jquery,jquery/jquery,jquery/jquery,roytoo/jquery