turn resource to be nonfolderish
added attachment and url fields