Fixes component.json
Make sure Rpc and Stream are created with new