Practice for serving up JSON in Rails