Add json gem to Gemfile
Add /api/ip to return the ip in json
Add require for the json gem
Add : to output string