Revert "Merge pull request #1652 from abuiles/camelize-in-pathForType"

This reverts commit 3915dbcb62f7287b5937fbc6bb7317f583064c5d, reversing
changes made to b918354c84e10633cdcfd4ebd5a323f087418375.

we can reintroduce this with tests.