Google data already in array form

When using the Google adapter, it seems that $data is already an array, so json_decode throws a warning.

I figure a safe modification is to check if the data is already an array.

Hopefully I'm not missing something, but without this, geocoding by address is entirely broken.