Text this: Variational Information Principles to Unveil Physical Laws