<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

async def rpc_message(self, request, message):
        '''Publish a message via JSON-RPC'''
        await self.pubsub.publish(self.channel, message)
        return 'OK'