MAINT: core: simplify array_repr_builtin (don't use sprintf)