Fixes the JSON codec for service_info

Change-Id: I9aa61e10dd85e12840fe4a6d4dda3419c0f2e95b