Use external jsonrpc library

Change-Id: Ia06a842a9fd45b5ff8d5d9a13aaf2998ee98bb9e
Add debian build dependencies

Change-Id: Ib367755229a012d7f9fda2a62e48479cbe171e4f