core salt: convert F# and C# types