Revert "Add jsonrpc server"

This reverts commit 6132dd65b129320b527406d612f78b73e12398cd.
Revert "Revert "Add jsonrpc server""

This reverts commit 55d13e0810257040fb138db32602cec4f04ca1f2.