JSON reading fix; adding obstacles without specifying size