Add join_if_array() to handle string/array fields

See GitHub issue #1