useFieldArray should be used with a name structured as "services". Then, register each item in the array as services[i].id, where i is the index. React server actions expect data in a form-compatible format, so use JSON.stringify() to serialize the array and handle deserialization on the server.