Fix sorting of fields given by jasy.

 Only keys of fields should be sorted, not key plus value as string