updates to amalgamtion such that jsoncpp is supported.