A work-in-progress wrapper for R to a RESTful service