'Convert remote sync args to remote_info dictionary.'

def _parse_sync_args(self, args):

    (remote_sync, hash_, id_, created_at, put_timestamp, delete_timestamp, metadata) = args[:7]
    remote_metadata = {}
    if metadata:
        try:
            remote_metadata = json.loads(metadata)
        except ValueError:
            self.logger.error('Unable    to    decode    remote    metadata    %r', metadata)
    remote_info = {'point': remote_sync, 'hash': hash_, 'id': id_, 'created_at': created_at, 'put_timestamp': put_timestamp, 'delete_timestamp': delete_timestamp, 'metadata': remote_metadata}
    return remote_info
