Update example get_organizations to yield an object, not return an array

Users may be confused and return objects instead of yielding them. Plus this implementation is often what you want.