simplified RestInflector class