tion of JSON-serializable objects.

A flattened tree. Each output line contains one *key*:*value* pair.

Printer attributes:
  no-pad: Don't print space after the separator. The default adjusts the
    space to align the values into the same output column. Use *no-pad*
    for comparing resource outputs.
  separator=_SEPARATOR_: Print _SEPARATOR_ between the *key* and *value*.
    The default is ": ".

For example:

  printer = resource_printer.Printer('flattened', out=sys.stdout)
  printer.AddRecord({'a': ['hello', 'world'], 'b': {'x': 'bye'}})

produces:

  ---
  a[0]: hello
  a[1]: world
  b.x:  bye
c