Split new lines into java lists, fixes http://dev.gbif.org/issues/browse/POR-2271