Fixed 1.8.7 syntax error
Added json gem as dependency
Lets just not support 1.8.7