Add repository to json