Fixed issue when json's responses contain null values

* refactored clean_none method in service/api.py

Fixed bug: #1163311

Change-Id: I6d18c94c6a14121a7f84f10abcf0588af0595b61
Merge "Fixed issue when json's responses contain null values"