Update json_writer_OP.rb

fixing done