Text this: A field theory representation of sum of powers of principal minors and physical applications