added repository and backends for json and couchbase