Currently the POST API returns "null" values for unspecified traits
or candidate_nodes fields, while the subsequent GET API will return
empty lists. This patch fixes it to always return empty lists.
Change-Id: Ia3de56e97f63ef06a1115ae6328a626e327a64af
Story: #2004341