Add deep and shallow todict funcs for Items and Tags