Fixed import problem when app descriptor contains invalid mongo keys: descriptor stored as string