Rails webservice for mdTranslator