adding json as gem dependency