Add encodeObjects if statement
Add encodeObjects if statement

I had to add this change in order to get custom_declarations to work in some situations, the custom declarations object was type Shippo_Object and the identifier was located in object_id, so it was not finding it with the existing code and failing on GB and DE addresses and possibly others.  Canada addresses sometimes worked, so I'm not sure if this is the correct way to fix this or if this a better way, but I thought I would send it over since my code is now working 100% of the time.
goshippo/shippo-php-client