added dependency checking of objects that are being sent to web service