escape field and parameter names in scala

- in case someone specifies something like { "name": "type", ... }