add Poisson example with json input and add jsoncpp library to external libraries