Fix pandas serialization

cc @theengineear @etpinard @msund 
yeah! :)