FIX CKAN backend to avoid empty arrays in metadata fields