added library functionality to FindJSONCPP.cmake