saveBCFModelToJson function

Convert the persistent aspects of a BCF model to (in-memory) JSON