Make dump's output prettier

Changes:
  * Indentation with tabs by default.
  * Array keys dumped without "[i] = " prefix.
  * Smart keys (string keys that are valid identifiers aren't enclosed in [""]).
  * Basic support for multiple references (as specified in the comment).