changed dump to put close bracket on next line