Quick fix for reading JSON rectangle data