Make implode work on normal values, normal arrays and multi-dim arrays