Fixed typo in to_obj() method of APICall; the address property was not being set correctly