add json end point and edinburgh data