added tests for a general derived facility (using a mock parser) and the repository translator, including optional arguments. also added a JsonRepositoryTranslator that correctly constructs a repo node.