public Object Index()
        {
            Person pers = new Person { FirstName = "John", LastName="Smith", Age = 20, IsCertified=true };

            Exception validationError = null; // pers.Validate();

            RecordModelGenerator gen = new RecordModelGenerator();
            string personDef = gen.RowToRecordInitJSON(pers, validationError).ToJSON();

            return new Index { PersonDef = personDef };
        }
 public Object SavePerson(Person pers)
 {
     Console.WriteLine(pers.ToJSON(JSONWritingOptions.PrettyPrintRowsAsMap));
     return new { OK = true };
 }