Fix pluralization in RESTMapper when kind ends with 'y'

@smarterclayton fyi
Heh, and now that you've done it I realize it should be a switch (if else if is always a switch).