adding statuses and aliases to application structure returned by rest API