added type to item json