Add opt support for Reph for the -j and --file flags.
Add json output support.