A GENERIC formalism for Korteweg-type fluids: I. A comparison with classical theory. (12th March 2020)