```ruby
require 'rubygems'
require "bundler/setup"
  dir = Pathname(__FILE__).dirname.expand_path
  require dir + 'lib/ragios'
  require dir + 'config'
require 'sinatra' 
require 'yajl'


get '/' do
 "Ragios Server"
end


put '/ragios/monitor' do

  json_style_hash = Yajl::Parser.parse(request.body.read)
#will clean up the code later, still buggy
  new_hash = {}
  monitors = []
  count = 0

  json_style_hash.each do|hash|
      hash.each do |key,value|
        key = key.to_sym
        new_hash[key] = value
      end

   monitors[count] =  new_hash
   count += 1
  end
  Ragios::Monitor.start monitors 

   puts monitors.inspect 
  "{\"ok\":true}"
end
```

Use Yajl gem to symbolize hash keys from Json data
user
```ruby
require 'rubygems'
require "bundler/setup"
dir = Pathname(__FILE__).dirname.expand_path
require dir + 'lib/ragios'
require dir + 'config'
require 'sinatra' 
require 'yajl'


get '/' do
 "Ragios Server"
end


put '/ragios/monitor' do

  monitors = Yajl::Parser.parse(request.body.read, :symbolize_keys => true)
  Ragios::Monitor.start monitors

  "{\"ok\":true}"
end
```
assistant