Fix pandas serialization

cc @theengineear @etpinard @msund 
put a sort_keys=True here? (and below) so that those dicts are always ordered the same?