def _format_request(context, command, other):
    """Merge commands, context and payload"""
    if context is None:
        return '%s/%s' % (command, other)
    else:
        return '%s/%s:%s' % (command, context, other)
