adopt okjson.rb from homebrew-fork