Helper function to print the dictionary to the console

print_dict(x, maxdepth = 1, compressed = NULL)