merge non-object values into arrays properly, closes #30