Fixed: dup string if frozen when formatting output for machine.
Merge pull request #2861 from morrizon/machine_readable_issue

commands/box-list: dup string if frozen when formatting output for machine.