add format tag to model constructors