The rapidjson library has a difficult to use API which is made more difficult by it use of "move semantics"
We used rapidjson when we wrote the NgapApi code in modules/dmrpp_module/container/NgapApi.cc
Since then we have added the nlohmann json library which is much easier to use and understand. This is used by the cmr_module to do the CMR JSON stuff.
This ticket is meant to provide a launch point for transitioning away from rapidjson code to nlohmann
This work is, I think, limited to NgapApi.cc but a search for other extant uses within the BES code base needs to be undertaken.