fixed the return data format of service and wapi class.