Revert "write out json pieces directly; allow .json profile filenames"
Revert "write out json pieces directly; allow .json profile filenames"

This reverts commit 466d719b7fec402f80f8291e237fb7a295e68fd3.

flussence++ made a better pull request

cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp