fixed python json serialization issues with DataFrame