I'm talking about your problem with a custom popup editor, which uses workItem.put(name, value) to pass a parameter, which then gets serialized to your diagram's xml file.
Parameters that you pass directly into a knowledge session are of course passed correctly because they newer get serialized.