Exports editable database of countries in JSON, XML and HTML using rails-api