Fix parsing error when "curie" is an array.