Jersey <> Magento bridge using some RESTful magic