Check if Google data is already array so json_decode doesn't fail