Refactor json schema type transformations

- Attaching meta-data to schemas should work in all cases now
Merge branch 'parameter-metadata'