transformed category field from many2many to foreignkey