fix FindJsonCpp.cmake

This fixes the variables set in `FindJsonCpp.cmake`.