Add --replace option in dpmanip

Summary
------------

- Introduce `--replace` option for rewrite JSON file
- This is necessary for using `mode_node` pipe.