[cmake] Fix installation of json.hpp

Merged Timo Koch requested to merge fix/install-json into master

Merge request reports