API: fix empty responses

WSME json encodes empty strings to return resulting in '""' response
We now override that behaviour to return a true empty response

Change-Id: I1437c5a69723af02ccaa7cda4acef4ffdbae5d4d
Merge "API: fix empty responses"