json generated rect