SERVER-11715 fix Array.tojson ugly output

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>