added TTextWriter.RegisterCustomJSONSerializerFromTextSimpleType() method to handle e.g. enumerate types as JSON String in custom JSON serialization of records