Text this: Plasticity of three-dimensional foams