finalize idea json