Change resources from a JS Array to Map, w/ backwards compatibility
Update svc-iris-hub test file from array to map for resources
Update apidoc api.json to use JSObject for resources