I just noticed the following behavior when editing a user task with a form property:
I have supplied id and name and saved it. The resulting xml was ok. Then I again went into the edit view of this property, and then the value of id and name have been swapped. Doing it again restored the correct values.