import json


def transplant_bookmarks(source, target):
    """Copy over bookmarks"""        
    source_config = json.loads(source['config'])
    target_config = json.loads(target['config'])

    source_bookmarks = source_config['bookmarks']
    target_config['bookmarks'] = source_bookmarks

    target['config'] = json.dumps(target_config)

    return target