Minor improvement to application resource

I was looking at this for USSD integration and noticed that it doesn't actually work (will always return a 404). Also decided that a better layout would be to have the map of case_type to case properties at the top level.