Example Rails JSON API server