Ma/fetch org authz

Creating a PR for this so I can comment and fix

/cc @manderson26 
This wasn't even returning the proper format for the case statement below.