add json gem to gem dependencies. fix requires