Add optional argument to limit the amount of printing when dumping a hash-table