Don't assume typeKey is always camelized.
Merge pull request #1662 from abuiles/camelize-in-pathForType

Don't assume typeKey is always camelized.