Updating API to return an empty dict
Updating API to account for empty dict