JSON RPC server and client for running Slic3r as a remote service