move case properties to top level in applicaiton api