# Functions
LoadCredentials reads credentials from a ~/.azure/credentials.json file.
NewServicePrincipalTokenFromCredentials creates a new ServicePrincipalToken using values of the passed credentials map.
ToJSON returns the passed item as a pretty-printed JSON string.