Doesn't this break the later code that tries to get values from the object? ie. ```$marker->latitude```
and ```$marker->location->latitude; ```