public static String parseCSV2(String input){
        String[] lines = input.split("\n");
        List<Contact> list = new ArrayList<Contact>();
        int size = lines.length;
        for(int i = 0; i < size; i++){
            String[] tokens = lines[i].split("\\|");
            Contact contact = new Contact(tokens[0], tokens[1],tokens[2],tokens[3]);
            list.add(contact);
        }

        StringBuilder result = new StringBuilder();
        result.append("{\n");
        Iterator<Contact> itList = list.iterator();
        while(itList.hasNext()){
            Contact contact = itList.next();
            result.append("{");
            result.append("name:"    + contact.getName()     + ",");
            result.append("address:" + contact.getAddress()  + ",");
            result.append("phone:"   + contact.getPhone()    + ",");
            result.append("job:"     + contact.getJob());
            result.append("}");
            if(itList.hasNext()) result.append(",");
            result.append("\n");
        }
        result.append("}\n");
        return result.toString();
    }