added C# Json.Encode

Added Json.Encode for C#/Razor in regards to bootstrapping data.