[Workbench2] Property Keys are converted into Camel Case Format in Collection View
When assigning properties keys are converted into camel case format. This means keys like "Study Source" become "studySource" and "Phase" becomes "phase". It seems this issue only applies to the collection view, not the project view
Properties are stored and displayed as entered and stay like this.
It requires at least two changes to a collection and a page reload between.
- Open a collection view and add any property with a multi word key (e.g. "Study Source")
- Refresh the page. The key will change to "studySource" after a moment
- Open Chrome Devtools and add another property. Check the API PUT request payload, it will contain the property key in camel case.
- Afterwards, the property key is persisted as camel case