Update need ID key to reflect usage in the API

The API uses `id` as the key, rather than `need_id`.