Rails JSON API for blynk app.