update API calls for the new method of passing objects in the extras fields
Fixes #6