Converted flattened arrays to C-order before saving in Python RPC code
to fix SCI-1396