rename service api method and params to lower case