The same thing holds true for NMP as for dimethylmaleate - after complete hydrolysis to the free acids, only the GHB re-esterifies with ease in a slightly acid aqueous solution, forming GBL (which can then be steam distilled off), while the amino-acid from NMP and the maleic acid stays in their acid form and will be pretty non-volatile.