added implementation of entities() method in JsonRepo