Use SERVICE_TYPES parameter to kcoreaddons_desktop_to_json()

Authored by arichardson.