Text this: Thermodynamically consistent modeling of granular soils using physics-informed neural networks