how to create json file dynamically in c#