code improvements in REST services RestInflectors class