Little fixes. JSON RPC still not working(