Fix jsoncpp dependency for Stack