API: creating model for Tag object