Remove format block and just render json.
Merge pull request #15 from hrishikeshs/rails_cleanup

Remove format block and just render json.