wip: repository: add to_snippet_json()