Added caching for json services
Fixed data access problem in repository