Implementing a RESTful Service with Reflection