Handle camel case names for the publicapi endpoints

Lowercase inside of the _mapToRestClass function