Quick attempt at built-in itemstack serialization.