appcelerator task application - rest json services