Keep JSON object returned consistent.

When sflow/netflow/port/mirror is not configured, always return {"ret":
0, "xxx": None}.

Signed-off-by: Min Chen <minchnew@gmail.com>